package chapter01

object Test08_Aops {
  def main(args: Array[String]): Unit = {
    //算数运算符
    val a = 20
    val b = 8.0
    println(a/b)
    println(a%b)
    //把一个三位数拆成三个独立的数字
    val c = 129
    val ge = c%10
    val bai = c/100
    val shi = c/10-bai*10
    println(bai,shi,ge)
  }
}
